<div class="am-u-sm-12 widget main-w">
	<ol class="am-breadcrumb">
		<li>
			<a href="{:url('/admin/index')}">首页</a>
		</li>
		<li>
			<a href="{:url('index')}">调度中心</a>
		</li>
		<li>
			<a href="{:url('index')}">查看订单</a>
		</li>
		<li class="am-active">派车</li>
	</ol>
	<form class="am-form tpl-form-border-form" data-check="1" data-ajax="1">
		<div class="am-u-sm-6">
			<div class="am-u-sm-12 cl-p">
				<fieldset>
					<legend>订单信息</legend>
					<div class="am-u-sm-12 cl-p">
						<div class="am-u-sm-6">
							<div class="am-u-sm-5 cl-p">订单号：</div>
							<div class="am-u-sm-7">{$item.order_no}</div>
							<input type="hidden" value="{$item.order_no}" />
						</div>
						<div class="am-u-sm-6">
							<div class="am-u-sm-5 cl-p">出发时间：</div>
							<div class="am-u-sm-7">{$item.ride_time}</div>
						</div>
					</div>
					<div class="am-u-sm-12 cl-p">
						<div class="am-u-sm-6">
							<div class="am-u-sm-5 cl-p">出发地：</div>
							<div class="am-u-sm-7">{$item.departure}</div>
						</div>
						<div class="am-u-sm-6">
							<div class="am-u-sm-5 cl-p">目的地：</div>
							<div class="am-u-sm-7">{$item.destination}</div>
						</div>
					</div>
				</fieldset>
			</div>
			<div class="am-u-sm-12 cl-p">
				<fieldset>
					<legend>派车信息</legend>
					<div class="am-u-sm-12 cl-p">
						<div class="am-u-sm-6">
							<div class="am-u-sm-5 cl-p">乘客：</div>
							<div class="am-u-sm-7">{$item.passenger_name}</div>
						</div>
						<div class="am-u-sm-6">
							<div class="am-u-sm-5 cl-p">手机：</div>
							<div class="am-u-sm-7">{$item.passenger_phone}</div>
						</div>
					</div>
					<div class="am-u-sm-12 cl-p">
						<div class="am-u-sm-6">
							<!--<label for="user-name" class="am-u-sm-6 am-form-label am-text-left am-text-truncate"></label>-->
							<div class="am-form-group am-u-sm-12 cl-p" style="margin: 0;">
								<div class="am-u-sm-12 cl-p">
									计划出发时间:<input type="text" class="am-form-field tpl-form-no-bg am-margin-top-xs" name="ride_time" value="{$item.ride_time}" data-am-datepicker="" readonly="">
								</div>
							</div>
						</div>
						<div class="am-u-sm-6">
							<!--<label for="user-name" class="am-u-sm-6 am-form-label am-text-left am-text-truncate"></label>-->
							<div class="am-form-group am-u-sm-12 cl-p" style="margin: 0;">
								<div class="am-u-sm-12 cl-p">
									预计用车结束时间:<input type="text" class="am-form-field tpl-form-no-bg am-margin-top-xs" name="arriver_time" value="{$item.arriver_time}" data-am-datepicker="" readonly="">
								</div>
							</div>
						</div>
					</div>
					<div class="am-u-sm-12 cl-p">
						<div class="am-u-sm-12">
							<div class="am-u-sm-12 cl-p">短信通知信息：
								<div style="width: 100%;height: 100px;">{$item.discount}</div>
							</div>
						</div>
					</div>
				</fieldset>
				<div class="am-u-sm-12 cl-p">
					<fieldset>
						<legend>派车信息</legend>
						<input type="hidden" name="car_id" class="car_id" />
						<div class="am-u-sm-12 cl-p">
							<div class="am-u-sm-6">
								<div class="am-u-sm-5 cl-p">司机：</div>
								<div class="am-u-sm-7 driver">{$item.driver}</div>
								<input type="hidden" name="driver" />
							</div>
							<div class="am-u-sm-6">
								<div class="am-u-sm-5 cl-p">手机：</div>
								<div class="am-u-sm-7 driver_phone">{$item.driver_phone}</div>
								<input type="hidden" name="driver_phone" />
							</div>
						</div>
						<div class="am-u-sm-12 cl-p">
							<div class="am-u-sm-6">
								<div class="am-u-sm-5 cl-p">车牌号：</div>
								<div data-carid="{$item.number}" class="am-u-sm-7 number">{$item.number}</div>
								<input type="hidden" name="number" />
							</div>

						</div>

					</fieldset>
				</div>
				<div class="am-u-sm-12" style="margin: 20px 0;text-align: center;">
					<input name="state" type="hidden" value="5" />
					<button type="button" class="am-btn am-btn-sm am-btn-secondary am-radius dispatch">确认派车</button>
				</div>
			</div>
		</div>
	</form>
	<div class="am-u-sm-6">
		<form class="am-g am-form tpl-form-border-form"  action="" method="get">
			<div class="am-u-sm-6 ">
				<input type="text" class="am-form-field tpl-form-no-bg am-margin-top-xs" name="number"  placeholder="请输入车牌号" style="margin: 0;"/>
			</div>
			<div class="am-u-sm-6 ">
				<button  class="am-btn am-btn-sm am-btn-secondary am-radius ">查询</button>
			</div>
		</form>
		<div class="am-u-sm-12 cl-p">
			<small>提示：点击车辆选取车辆并获取车辆信息</small>
		</div>
		<div class="am-u-sm-12 cl-p">
			<div style="width: 100%;height:600px;">
				<div style="width: 100%;height:600px;" id="carmap"></div>
			</div>
		</div>
		<div id="map" data-map='1'></div>
	</div>

</div>
<script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.2&key={:config('base.mapkey')}&plugin=AMap.Driving"></script>
<script src="//webapi.amap.com/ui/1.0/main.js?v=1.0.11"></script>